package cn.icanci.loopstack.bic.biz.service;

import java.util.List;

import cn.icanci.loopstack.bic.common.model.TextValue;
import cn.icanci.loopstack.bic.common.model.base.NodeVO;
import cn.icanci.loopstack.bic.dal.mongo.common.PageList;

/**
 * @author icanci
 * @since 1.0 Created in 2023/09/11 22:56
 */
public interface NodeService extends BaseService<NodeVO> {
    @Override
    List<NodeVO> queryAll();

    @Override
    void save(NodeVO nodeVO);

    @Override
    NodeVO queryById(String id);

    @Override
    PageList<NodeVO> queryPage(NodeVO nodeVO, int pageNum, int pageSize);

    NodeVO queryBySystemUuidAndName(String systemUuid, String name);

    NodeVO queryBySystemUuidAndKey(String systemUuid, String key);

    List<TextValue> loadSelector(String systemUuid);

    List<TextValue> loadAllSelector();

    NodeVO queryByUuid(String nodeUuid);
}
